package com.sntra.beibi.dao;

import com.sntra.beibi.domain.Master;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MasterMapper {
	
    int deleteByPrimaryKey(Integer id);

    int insert(Master record);

    int insertSelective(Master record);

    Master selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Master record);

    int updateByPrimaryKey(Master record);

    int updateMasterMsg(Master record);

    int updateMasterPic(Master record);

    int deleteMaster(Integer id);

    List<Master> allMaster();

    List<Master> singerOfName(String name);

    List<Master> singerOfSex(Integer sex);
}
